package me.nereo.multi_image_selector;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;

import com.ali.music.multi_image_selector.R;
public class MultiImageSelectorActivity extends FragmentActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.multi_activity_default);
        Bundle bundle = getIntent().getBundleExtra(PrivateContent.BUNDLE_KEY);
        Fragment fragment = new MultiImageSelectorFragment();
        fragment.setArguments(bundle);
        getSupportFragmentManager().beginTransaction()
                .add(R.id.image_grid, fragment)
                .commit();
    }
}
